how to get only first record in django

112

how to get only first record in django -

MyModel.objects.filter(blah=blah).first()

Comments

Submit
0 Comments